export default (htmlString) => {
  const element = document.createElement('div');
  element.innerHTML = htmlString;
  return element;
}